<template>
    <div style="display: flex; justify-content: center; background-color: #fff;">
        <div style="width: 755px">
            <div style="width: 755px;">
                <div style="overflow: hidden;">
                    <div class="about-top">
                        <div style="color: #efefef; font-size: 24px;">SHOPPING AND PAY</div>
                    </div>
                </div>
                <div v-html="promotionalData.content_en"></div>
            </div>
        </div>
    </div>
</template>

<script setup>
import { reactive } from 'vue';
import { getTechOrder } from '@/requests/index';

const promotionalData = reactive({
    id: 2,
    content: "",
    content_en: "",
    imgs: "",
    imgs_en: ""
});
const getTech = async () => {
    const res = await getTechOrder({ "id": 2 });
    if (res.status === 2000) {
        const data = res.data;
        promotionalData.id = 2;
        promotionalData.content = data.content;
        promotionalData.content_en = data.content_en;
    }
};
getTech()
</script>

<style scoped>
.shop-title {
    border-right: 1.5px solid #5785B1;
    padding: 0 5px;
    color: #5785B1;
    cursor: pointer;
}

.shop-title-last {
    padding-left: 5px;
    color: #5785B1;
    cursor: pointer;
}

.shop-title:hover {
    color: red;
}

.shop-title-last:hover {
    color: red;
}

.shop-notice>div {
    border: 1px solid #666;
    margin: 2px;
}

.shop-category {
    background-color: #EAEAEA;
    display: flex;
    text-align: center;
    margin-top: 10px;
    border: 1px solid #666;
    color: #5785B1;
    font-size: 12px;
    height: 22px;
    line-height: 22px;
}

.shop-category>span {
    width: 33.33%;
    border-left: 1px solid #666;
}

.shop-category>span:hover {
    cursor: pointer;
}

.shop-title {
    font-size: 14px;
    color: #5785B1;
    border: none;
}

.shop-indent {
    font-size: 12px;
    text-indent: 2em;
    display: block;
}

.shop-indent p {
    margin: 5px 0;
}

.about-top {
    width: 100%;
    height: 100px;
    font-size: 14px;
    line-height: 100px;
    text-align: center;
    background: linear-gradient(to right, rgb(33, 147, 176), rgb(109, 213, 237));
    border-radius: 5px;
    background-size: 100% 100%;
    margin-bottom: 20px;
    padding: 3px 0;
}
</style>